var Redis=require('ioredis');
var redis=new Redis({
    host:'127.0.0.1',
    port:6379,
    password:'',
    db:15
});

redis.set('foo','bar');
redis.get('foo',(err,data)=>{
    console.log('cb:',err,data);
});

